package com.example.block_chain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.block_chain.domain.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdminMapper extends BaseMapper<Admin> {

    @Select("select * from admin")
    public List<Admin> selectAll();
}
